package com.lottery.material.service.portal.article;

import com.lottery.material.pojocustom.article.ArticleCompetitionInfoCustom;

import java.util.List;
import java.util.Map;

/**
 * Description:    文章赛事内容服务接口
 * Author:         sunny
 * CreateDate:     2019-04-19 13:35
 */
public interface ArticleCompetitionInfoService {

    /**
     * description: 根据文章id和赛事收费类型查询
     * author sunny
     * createDate 2019-04-19 下午 1:38
     * @param articleId
     * @param competitionChargeType
     * @return
     */
    List<Map<String, Object>> findByArticleIdAndType(String articleId, Integer competitionChargeType);

    /**
     * description: 根据文章id查询文章赛事
     * author sunny
     * createDate 2019-04-24 下午 7:51
     * @param articleId
     * @return
     */
    List<ArticleCompetitionInfoCustom> findByArticleId(String articleId);
}
